import request from '@/utils/request'

// 查询heal2列表
export function listHeal2(query) {
  return request({
    url: '/system/heal2/list',
    method: 'get',
    params: query
  })
}

// 查询heal2详细
export function getHeal2(id) {
  return request({
    url: '/system/heal2/' + id,
    method: 'get'
  })
}

// 新增heal2
export function addHeal2(data) {
  return request({
    url: '/system/heal2',
    method: 'post',
    data: data
  })
}

// 修改heal2
export function updateHeal2(data) {
  return request({
    url: '/system/heal2',
    method: 'put',
    data: data
  })
}

// 删除heal2
export function delHeal2(id) {
  return request({
    url: '/system/heal2/' + id,
    method: 'delete'
  })
}
